func string DEBUG_CNTNAME(var int pl) {
	if(pl == 1) {
		return ConcatStrings(OPP_NAME, HAS);
	}
	else if (pl == 0) {
		return YOUHAVE;
	}
	else if (pl == 2) {
		return SMITHHAS;
	}
	else if (pl == 3) {
		return MAGEHAS;
	};
	return "";
};

func void B_Debug (var int pl, var string text) {
	txt_1 = txt_2;
	txt_2 = txt_3;
	txt_3 = txt_4;
	txt_4 = txt_5;
	txt_5 = ConcatStrings(DEBUG_CNTNAME(pl), text);
	PR_ActDebug();
};